import request from '@/utils/request'

// 查询字体列表
export function listMark(query) {
  return request({
    url: '/construction/mark/list',
    method: 'get',
    params: query
  })
}

// 查询字体详细
export function getMark(wordId) {
  return request({
    url: '/construction/mark/' + wordId,
    method: 'get'
  })
}

// 新增字体
export function addMark(data) {
  return request({
    url: '/construction/mark',
    method: 'post',
    data: data
  })
}

// 修改字体
export function updateMark(data) {
  return request({
    url: '/construction/mark',
    method: 'put',
    data: data
  })
}

// 删除字体
export function delMark(wordId) {
  return request({
    url: '/construction/mark/' + wordId,
    method: 'delete'
  })
}

// 导出字体
export function exportMark(query) {
  return request({
    url: '/construction/mark/export',
    method: 'get',
    params: query
  })
}

// 查询施工队
export function selectConstructionInfo(){
  return request({
    url: '/construction/mark/selectConstructionInfo',
    method: 'get',
  })
}
